package com.muyu.remote;

import com.muyu.common.core.constant.ServiceNameConstants;
import com.muyu.remote.factory.RemoteVipPackageFactory;
import com.muyu.remote.factory.RemoteVipPersonFactory;

import com.muyu.system.domain.DanmoVipPackage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * Vip套餐远程调用 RemoteVipPerson
 *
 * @author LeYang
 * on 2025/6/10
 */
@FeignClient(
        contextId = "RemoteVipPackageFactory",
        value = ServiceNameConstants.VIP_SERVICE,
        fallbackFactory = RemoteVipPackageFactory.class,
        path = "/person"
)
public interface RemoteVipPackage {
    @PostMapping("/packages")
    public DanmoVipPackage packages(@RequestBody DanmoVipPackage danmoVipPackage);


}
